﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Commonality.Clients;

namespace Models.CarsGuanLi
{
    [Table("tb_Purchase")]
    public class CaiGou: AuditFiled<int>
    {
        /// <summary>
        /// 采购单号;采购单号
        /// </summary>
        public string? PurchaseOrderCode { get; set; }

        /// <summary>
        /// 合同编号;合同编号
        /// </summary>
        public string? ContractCode { get; set; }

        /// <summary>
        /// 采购数量;采购数量
        /// </summary>
        public int? PurchaseQuantity { get; set; }

        /// <summary>
        /// 采购人Id;采购人Id
        /// </summary>
        public int? BuyerID { get; set; }

        /// <summary>
        /// 采购人;采购人
        /// </summary>
        public int? Buyer { get; set; }

        /// <summary>
        /// 审核状态;审核状态
        /// </summary>
        public Cltypes? State { get; set; }

        /// <summary>
        /// 审核人id;审核人id
        /// </summary>
        public string? Auditoridd { get; set; }

        /// <summary>
        /// 审核人;审核人
        /// </summary>
        public string? Auditor { get; set; }

        /// <summary>
        /// 审核时间;审核时间
        /// </summary>
        public DateTime? AuditDate { get; set; }

        /// <summary>
        /// 备注;备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
